package com.gitee.mybase.top.enums;

public enum TokenType implements IEnum<String> {
    SESSION("session", "session级别"),
    LOCAL("local", "本地");

    private String value;
    private String desc;

    TokenType(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    public String getDesc(){
        return this.desc;
    }
}
